﻿using In66.Net.EventBus.Cap;

namespace Ord.Api.Models.Events
{
    public class OrderPaidModel
    {
        public long OrderId { get; init; }

        public long CustomerId { get; init; }

        public decimal Amount { get; init; }
    }

    /// <summary>
    /// 订单支付事件
    /// </summary>
    [Serializable]
    public sealed class OrderPaidEvent : Event<OrderPaidModel>
    {
        public OrderPaidEvent()
        {
        }
        public OrderPaidEvent(string source, OrderPaidModel eventData) : base(source, eventData)
        {

        }
    }
}
